package com.rnkrsoft.suyan.config.server.services.guide.domains;

import com.rnkrsoft.suyan.config.internal.enums.YesOrNo;
import com.rnkrsoft.suyan.config.protocol.v2.DataTypeEnum;
import com.rnkrsoft.suyan.config.protocol.v2.ParamType;
import lombok.Builder;
import lombok.Data;

import javax.doc.annotation.ApidocElement;
import java.io.Serializable;

/**
 * Created by woate on 2019/6/22.
 */
@Builder
@Data
public class FetchParamRecord implements Serializable{
    @ApidocElement("参数ID")
    String paramId;
    @ApidocElement("参数名")
    String paramName;
    @ApidocElement(value = "是否有权限", enumClass = YesOrNo.class)
    String paramAuthority;
    @ApidocElement(value = "是否为继承参数", enumClass = YesOrNo.class)
    String paramExtends;
    @ApidocElement(value = "参数类型", enumClass = ParamType.class)
    int paramType;
    @ApidocElement(value = "数据类型", enumClass = DataTypeEnum.class)
    int paramDataType;
    @ApidocElement("参数值")
    String paramValue;
    @ApidocElement("参数描述")
    String paramDesc;
}
